import { createApp } from 'vue'

import App from './App.vue'

import '../reset.css'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/display.css'
// vue virtual scroller
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css' // 引入它的 css
// 路由权限
import './permision.js'
import DirectivePlugin from './directives/index.js'
// import 'amfe-flexible'
import router from './router'
import pinia from './store'
import ElementPlus from 'element-plus'

// 创建Vue应用程序并将其挂载到HTML元素上
const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)

app.use(router)
app.use(DirectivePlugin)
app.mount(`#app`)
